Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defensive code for Heltec Display #1296

Merged
merged 1 commit into from
Oct 23, 2022

Conversation

NorthernMan54
Copy link
Collaborator

@NorthernMan54 NorthernMan54 commented Oct 22, 2022

Added to Heltec board display code logic to reduce corruption of messages on the display

Two piece of defensive code were added

  • Only display messages to the display when operating on Core 1 ( Default Arduino ESP32 CONFIG_ARDUINO_RUNNING_CORE )

  • Only display one character/string at a time

In the event of failure, default to Serial output.

PS SSD1306 driver similar issues

ThingPulse/esp8266-oled-ssd1306#326
ThingPulse/esp8266-oled-ssd1306#352

Description:

Checklist:

  • The pull request is done against the latest development branch
  • Only one feature/fix was added per PR and the code change compiles without warnings
  • I accept the DCO.

Added to Heltec board display code logic to reduce corruption of messages on the display

Two piece of defensive code were added

- Only display messages to the display when operating on Core 1 ( Default Arduino ESP32 CONFIG_ARDUINO_RUNNING_CORE )

- Only display one character/string at a time

In the event of failure, default to Serial output.

PS SSD1306 driver similar issues

ThingPulse/esp8266-oled-ssd1306#326
ThingPulse/esp8266-oled-ssd1306#352
@1technophile
Copy link
Owner

Thanks

@1technophile 1technophile merged commit 19d58e0 into 1technophile:development Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants